<template>
<scroll-view scroll-y="true" enable-flex="true" class="box">
  <!--
  <view class="example-body">
    <uni-datetime-picker
      v-model="datetimerange"
      type="datetimerange"
      start="2021-3-20 12:00:00"
      end="2021-6-20 20:00:00"
      rangeSeparator="至"
    />
  </view>
  -->
</scroll-view>
</template>

<script>
	export default {
		data() {
			return {
        datetimerange: ["2021-03-20 20:10:10", "2021-05-10 10:10:10"],
				title: '我是一个首页'
			}
		},
		options:{
			virtualHost: true
		},			
		onLoad() {

      console.log('首页-->onLoad');
		},
    created(){

      console.log('首页-->created');
    },
    methods: {

    }
	}
</script>

<style>
.header{ background: red; flex:1; display:flex; align-items:center;}
.box{ background: #ccc; flex:1; min-height: 100rpx; overflow: auto;}
</style>
